package com.info.zhiduoduo.weixin.formbean.company;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.info.zhiduoduo.common.utils.DateUtil;

import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ToString
public class BatchPublishProjectFormBean {

	private int categoryid;
	private String categoryname;
	private String projectname;
	private int projecttype;
	private String projectintro;
	private BigDecimal projectamount;
	private int projectcycle;
	private int userid;
	private int invoicetype;
	private String invoicecontent;
	@ApiModelProperty("招标类型 1：邀约 2：公开")
	private int bidType;
	@JsonFormat(pattern = DateUtil.FORMAT_STYLE_2, timezone = DateUtil.TIME_ZONE_CHINA)
	@ApiModelProperty("公开招标结束日期，字符串yyyy-MM-dd")
	private Date bidEnd;
	@JsonFormat(pattern = DateUtil.FORMAT_STYLE_2, timezone = DateUtil.TIME_ZONE_CHINA)
	@ApiModelProperty("公开招标项目完成截止日期，字符串yyyy-MM-dd")
	private Date bidProjectFinish;
	@ApiModelProperty("是否通知乙方上传交付物 0：否 1：是")
	private int notifyUploadDelivery;
	private int count;
	/** 是否需要自动验收 0:否 1:是 */
	private int autoCheck;
	@ApiModelProperty("合伙人提现id")
	private String partnerWithdrawId;
	@ApiModelProperty("商品明细文件路径")
	private String commodityDetailFilePath;
}
